package org.wltea.analyzer.extend;

import java.util.ArrayList;
import java.util.List;
import org.wltea.analyzer.cfg.Configuration;

/**
 * 2017-03-08,完全自定义词库
 * 
 * @author chenpeng
 *
 */
public class EmptyConfig implements Configuration {

    private static final String PATH_DIC_MAIN = "org/wltea/analyzer/extend/main.dic";

    private static final String PATH_DIC_STOP = "org/wltea/analyzer/extend/stop.dic";

    private static final String PATH_DIC_QUANTIFIER = "org/wltea/analyzer/extend/quantifier.dic";

    private boolean useSmart;

    public static Configuration getInstance() {
        return new EmptyConfig();
    }

    private EmptyConfig() {

    }

    @Override
    public boolean useSmart() {
        return useSmart;
    }

    @Override
    public void setUseSmart(boolean useSmart) {
        this.useSmart = useSmart;

    }

    @Override
    public String getMainDictionary() {
        // TODO Auto-generated method stub
        return PATH_DIC_MAIN;
    }

    @Override
    public String getQuantifierDicionary() {
        // TODO Auto-generated method stub
        return PATH_DIC_QUANTIFIER;
    }

    @Override
    public List<String> getExtDictionarys() {
        return new ArrayList<>();
    }

    @Override
    public List<String> getExtStopWordDictionarys() {
        List<String> extStopWordDictFiles = new ArrayList<String>(2);
        extStopWordDictFiles.add(PATH_DIC_STOP);
        return extStopWordDictFiles;
    }

    @Override
    public String getExtSynonymDictionarys() {

        return null;
    }

}
